<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

    <h1 id="title">江雪</h1>
    <h3 id="nam">柳宗元</h3>
    <h6 id="one">千山鸟飞绝</h6>
    <h6 id="two">万径人踪灭</h6>
    <h6 id="there">孤舟蓑笠翁</h6>
    <h6 id="four">独钓寒江雪</h6>

    <script>
        var title = document.getElementById("title");
        console.log(title);
        var name = document.getElementById("name");
       console.log(nam);
        var one = document.getElementById("one");
        console.log(one);
        var two = document.getElementById("two");
        console.log(two);
        var there = document.getElementById("there");
        console.log(there);
        var four = document.getElementById("four");
        console.log(four);
    </script>
</body>

</html>